@charset "utf-8";
.container {
    height: 100%;
}

.display-flex {
  display: flex;
}

.login-page {
    width: 400px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);

    .login-form-forgot {
        float: right;
    }

    .login-form-button {
        width: 100%;
    }
}

.login-page-header {
    height: 60px;
    margin: 15px auto;
    width: 450px;

    h1 {
        line-height: 60px;
        height: 60px;

        .logo-text {
            float: right;
            margin-right: 30px;
        }
    }
}

.login-page-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 15px;
    text-align: center;
}

.inner-container {
    display: flex;
    .inner-content {
        flex: 1;
        padding: 10px;
    }
}

.layout-aside {
    position: relative;
    min-height: 100%;
}

.layout-aside .layout-logo {
    height: 32px;
    background: #333;
    border-radius: 4px;
    margin: 16px 24px;
    transition: all .3s;
}

.layout-aside-collapse .layout-logo {
    width: 32px;
    margin: 16px;
    transition: all .3s;
}

.layout-aside .layout-sider {
    width: 224px;
    background: #404040;
    position: fixed;
    overflow: visible;
    padding-bottom: 24px;
    height: 100%;
    transition: all .3s;
}

.layout-aside-collapse .layout-sider {
    width: 64px;
    transition: all .3s;
}

.layout-aside .layout-sider>.menu {
    margin-bottom: 20px;
}

.layout-aside .layout-sider>.menu>.menu-item {
    margin: 16px 0;
}

.layout-aside .layout-sider>.menu>.menu-item .nav-text {
    vertical-align: baseline;
    display: inline-block;
}

.layout-aside .layout-sider>.menu>.menu-item>.anticon {
    transition: font-size .3s;
}

.layout-aside-collapse .layout-sider>.menu>.menu-item {
    transition: all 0s ease;
}

.layout-aside-collapse .layout-sider>.menu>.menu-item>.anticon {
    font-size: 16px;
    display: inline-block;
}

.layout-aside-collapse .layout-sider>.menu>.menu-item .nav-text {
    display: none;
}

.layout-aside-collapse .layout-sider>.menu>.menu-item:hover {
    background: #2db7f5;
    color: #fff;
    transition: all 0s ease;
}

.layout-aside-collapse .layout-sider>.menu>.menu-item:hover .nav-text {
    display: inline-block;
    vertical-align: top;
    background: #2db7f5;
    color: #fff;
    padding-right: 16px;
    border-radius: 0 5px 5px 0;
}


/* 实际使用中需要改成 position: fixed */

.layout-aside .aside-action {
    height: 42px;
    width: 224px;
    position: fixed;
    bottom: 0;
    background: #656565;
    color: #fff;
    text-align: center;
    line-height: 42px;
    cursor: pointer;
    transition: all .3s;
}

.layout-aside-collapse .aside-action {
    width: 64px;
    transition: all .3s;
}

.layout-aside .layout-header {
    background: #fff;
    height: 64px;
    border-bottom: 1px solid #e9e9e9;
    display: flex;
    padding: 10px 20px;

    h1 {
        flex: 1;
        color: #108ee9;
    }

    .username {
        line-height: 43px;
        padding-right: 20px;
        font-size: 16px;
        color: #000;
    }
}

.layout-aside .layout-main {
    margin-left: 224px;
    transition: all .3s;
}

.layout-aside-collapse .layout-main {
    margin-left: 64px;
    transition: all .3s;
}

.layout-aside .layout-container {
    margin: 12px 16px 24px;
}

.layout-aside .layout-content {
    background: #fff;
    padding: 24px;
    margin-top: 12px;
    border-radius: 4px;
}

.layout-aside .layout-footer {
    height: 64px;
    line-height: 64px;
    text-align: center;
    font-size: 12px;
    color: #999;
    background: #fff;
    border-top: 1px solid #e9e9e9;
    width: 100%;
}

.image-uploader {
    display: block;
    width: 100px;
    height: 100px;
    border: 1px dashed rgb(204, 204, 204);
    text-align: center;
    padding: 20px;
    user-select: none;
}

.image-uploader img {
    width: 100px;
    position: absolute;
    height: 100px;
    top: 0;
    left: 0;
    z-index: -1;
}

.image-uploader input[type="file"] {
    position: absolute;
    opacity: 0;
}

img.preview-image {
    width: 130px;
    height: 130px;
}

.ant-menu-dark .ant-menu-item, .ant-menu-dark {
    color: #ddd;
}

